import { CityService } from './../../service/city/city.service';
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-city',
  templateUrl: './city.page.html',
  styleUrls: ['./city.page.scss']
})
export class CityPage implements OnInit {
  constructor(private cityService: CityService) {}

  ngOnInit() {
    this.getHostCity();
  }
  getHostCity() {
    this.cityService.getHotCity();
  }
}
